Class Kruskal

    • Constructor Detail

      • Kruskal

        public Kruskal​(ArgumentsBundle bundle)
        Public constructor for initializing the Kruskal with default conditions.
        Parameters:
        bundle - the ArgumentsBundle containing the instantiation arguments.
    • Method Detail

      • process

        public java.util.ArrayList<Graph> process​(Graph graph)
        Processes data.
        Finds the Minimum Spanning Tree MST with Kruskal's algorithm.
        Parameters:
        graph - the Graph object to search through.
        Returns:
        the ArrayList of Graph objects holding the MST.
      • getWeight

        private double getWeight​(java.util.List<Edge> E)